package com.flyco.modules.sms.vo;

import java.util.List;
import com.flyco.modules.sms.entity.SmsBargain;
import com.flyco.modules.sms.entity.SmsBargainProduct;
import com.flyco.modules.sms.entity.SmsBargainRoom;
import com.flyco.modules.sms.entity.SmsBargainFollow;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 砍价
 * @Author: flyco
 * @Date:   2020-05-18
 * @Version: V1.0
 */
@Data
@ApiModel(value="sms_bargainPage对象", description="砍价")
public class SmsBargainPage {

	/**id*/
	private Long id;
	/**活动名称*/
  	@Excel(name = "活动名称", width = 15)
	private String name;
	/**使用平台：all->全部；app->app端；wap->移动端；pc->pc端；weixinMini->微信小程序*/
  	@Excel(name = "使用平台：all->全部；app->app端；wap->移动端；pc->pc端；weixinMini->微信小程序", width = 15)
	private String platform;
	/**startTime*/
  	@Excel(name = "startTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date startTime;
	/**endTime*/
  	@Excel(name = "endTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date endTime;
	/**开房间后过期天数*/
  	@Excel(name = "开房间后过期天数", width = 15)
	private Integer expireDays;
	/**规则描述*/
	private String content;
	/**状态：0-未开始 1-已开始*/
  	@Excel(name = "状态：0-未开始 1-已开始", width = 15)
	private Integer status;
	/**砍价系数(0到100之间，越接近0就平均，接近100差别越大)*/
  	@Excel(name = "砍价系数(0到100之间，越接近0就平均，接近100差别越大)", width = 15)
	private Integer slope;
	/**是否包邮：0-不免运费 1-免运费*/
  	@Excel(name = "是否包邮：0-不免运费 1-免运费", width = 15)
	private Integer freeFreightFlag;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="砍价商品")
	@ApiModelProperty(value = "砍价商品")
	private List<SmsBargainProduct> smsBargainProductList;
	@ExcelCollection(name="砍价申请")
	@ApiModelProperty(value = "砍价申请")
	private List<SmsBargainRoom> smsBargainRoomList;
	@ExcelCollection(name="砍价记录")
	@ApiModelProperty(value = "砍价记录")
	private List<SmsBargainFollow> smsBargainFollowList;
	
}
